package com.zg.scf.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class AlertProcessAddReq {
    @ApiModelProperty(value = "预警数据id", required = true)
    @NotNull(message = "【预警数据id】字段不能为NULL")
    private Long id;

    /**
     * 处理时间
     */
    @ApiModelProperty(value = "处理时间", required = true)
    @NotNull(message = "【处理时间】字段不能为NULL")
    private Date alertProcessTime;

    @ApiModelProperty(value = "处理结果", required = true)
    @NotBlank(message = "【处理结果】字段不能为NULL")
    private String alertResult;

    @ApiModelProperty(value = "处理说明", required = true)
    @NotBlank(message = "【处理说明】字段不能为NULL")
    private String alertProcessNotes;
}
